package proxy;

import java.lang.reflect.Method;

import org.springframework.cglib.proxy.MethodInterceptor;
import org.springframework.cglib.proxy.MethodProxy;

/**
 * Created by zhangyanfei on 2018/12/12.
 * InvocationHandler
 *
 * MethodInterceptor
 *
 * @author zhangyanfei
 * @date 2018/12/12
 */
public class MethodProxyIn implements MethodInterceptor {

    @Override
    public Object intercept(Object o, Method method, Object[] objects,
                            MethodProxy methodProxy) throws Throwable {
        return methodProxy.invokeSuper(o,objects);
    }
}
